package com.youhome.service.mapper;

import com.youhome.service.model.CompanyToken;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CompanyTokenMapper {
    int deleteByPrimaryKey(Long tokenId);

    int insert(CompanyToken record);

    int insertSelective(CompanyToken record);

    CompanyToken selectByPrimaryKey(Long tokenId);

    CompanyToken selectByCompanyId(Long companyId);

    List<CompanyToken> selectByAll();

    int updateByPrimaryKeySelective(CompanyToken record);

    int updateByPrimaryKey(CompanyToken record);
}